<h1>Artists List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Fullname</th>
      <th>Nickname</th>
      <th>Birthdate</th>
      <th>Country</th>
      <th>Gender</th>
      <th>Image</th>
      <th>Location</th>
      <th>About</th>
      <th>Created at</th>
      <th>Updated at</th>
      <th>Created aid</th>
      <th>Updated aid</th>
      <th>Is active</th>
      <th>Sort</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($artists as $artist): ?>
    <tr>
      <td><a href="<?php echo url_for('artist/edit?id='.$artist->getId()) ?>"><?php echo $artist->getId() ?></a></td>
      <td><?php echo $artist->getFullname() ?></td>
      <td><?php echo $artist->getNickname() ?></td>
      <td><?php echo $artist->getBirthdate() ?></td>
      <td><?php echo $artist->getCountryId() ?></td>
      <td><?php echo $artist->getGender() ?></td>
      <td><?php echo $artist->getImage() ?></td>
      <td><?php echo $artist->getLocation() ?></td>
      <td><?php echo $artist->getAbout() ?></td>
      <td><?php echo $artist->getCreatedAt() ?></td>
      <td><?php echo $artist->getUpdatedAt() ?></td>
      <td><?php echo $artist->getCreatedAid() ?></td>
      <td><?php echo $artist->getUpdatedAid() ?></td>
      <td><?php echo $artist->getIsActive() ?></td>
      <td><?php echo $artist->getSort() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('artist/new') ?>">New</a>
